import java.awt.Dimension;
import javax.swing.JFrame;

/*
 * http://zetcode.com/tutorials/javagamestutorial/
 */

@SuppressWarnings("serial")
public class PathfindingTest extends JFrame {

	public PathfindingTest() {
		MainPanel sp = new MainPanel();
		add(sp);
		
		setTitle("Pathfinding");
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		setSize(1000, 800);
		setLocationRelativeTo(null);
		setResizable(false);
		setVisible(true);
		
		// Set content size
		getContentPane().setPreferredSize(new Dimension(1000, 800));
		pack();
	}

	public static void main(String[] args) {
		new PathfindingTest();
	}

}
